{include file="common/header" /}
{$a}
<ul>
{volist id="vo" name="arr"}
    {if condition="$vo eq 1"}
    <li style="font-weight: bold">{$vo}</li>
    {else/}
    <li>{$vo}</li>
    {/if}
{/volist}
</ul>
<a href="{:url('index/test',array('id'=>1,'name'=>'王强'))}">跳转</a>
<script>
    $(function(){
        $.ajax({
            type: "post",
            datatype: "text",
            url: "{:url('index/ajax')}",
            data: {1:1},
            success: function (data) {
                //do something;
                console.log(data);
            }
        })
    })
</script>
</body>
</html>